import { createRouter, createWebHistory } from 'vue-router';
import { routes, anyRoute } from '../router/routes';

const router = createRouter({
    history: createWebHistory(),
    routes: [...routes, anyRoute],
    scrollBehavior() {
        return { top: 0, left: 0 }
    },
})

// 导出路由
export default router;